<?php
if (!defined('TOBBIVM'))
	header('location:/template/notrepassing.php');
/**
 * This file is part of TobbiVMShop.
 *
 * TobbiVMShop is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TobbiVMShop is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TobbiVMShop.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Template for Article->Article
 *
 * @version    $Id$
 * @package    TobbiVM-Shop
 * @copyright  Copyright (C) 2012
 * @author     Norbert Gebert
 * @license    GPL3
 */
?>

<div class="article_tpl">
	<h2>{pageTitel}</h2>
	<form class="niceform fieldset articleTable" action="{formStart}" method="post">
		<fieldset>

			<dl>
				<dt><label for="categoryList">{categoryList}</label></dt>
				<dd>
					<div id="refresh">
						<div class="btn_left">
							<select style="width:330px;" size="1" name="categoryListx" id="categoryListx">
								<!-- BEGIN categoryListx -->
								<option value="{categoryIdx}" {categoryCheckedx}>{categoryNamex}</option>
								<!-- END categoryListx -->
							</select>
						</div>
						<div class="btn_right">
							{btnRefresh}
							{articleListHelp}
						</div>
					</div>
				</dd>
				<div class="clear"></div>
			</dl>
			<dl>
				<table id="rounded-corner-article" summary="{tableSummary}">
					<!-- column-with  max table width: 625px-->
					<colgroup>
						<col width="25">
						<col width="40">
						<col width="300">
						<col width="125">
						<col width="40">
					</colgroup>

					<thead>
						<tr>
							<th scope="col" class="rounded-company"></th>
							<th scope="col" class="rounded">{productId}</th>
							<th scope="col" class="rounded">{productName}</th>
							<th align="center" scope="col" class="rounded">{productOrder}</th>
							<th scope="col" class="rounded">{productActiv}</th>
							<th scope="col" class="rounded-q4">{productCategory}</th>
						</tr>
					</thead>

					<tfoot>
						<tr>
							<td class="rounded-foot-left"></td>
							<td colspan="4" class="rounded-foot-left">

								<div class="pagination">
									<a href="{urlPageFirst}">{txtPageFirst}</a>
									<a href="{urlPagePrev}">{txtPagePrev}</a>

									<!-- BEGIN urlPageP -->
									<a href="{url}">{text}</a>
									<!-- END urlPageP -->

									<span class="current">{nrPageC}</span>

									<!-- BEGIN PageN -->
									<a href="{url}">{text}</a>
									<!-- END PageN -->

									<a href="{urlPageNext}">{txtPageNext}</a>
									<a href="{urlPageLast}">{txtPageLast}</a>
								</div>				



							</td>
							<td class="rounded-foot-right">&nbsp;</td>
						</tr>
					</tfoot>

					<tbody>
						<!-- BEGIN productListx -->
						<tr>
							<td>{productCheckboxx}</td>
							<td><div align="right">{productIdx}</div></td>
							<td>{productNamex}</td>
							<td><div align="right">{productOrderx}</div></td>
							<td><div align="center">{productActivx}</div></td>
							<td>{productCategoryx}</td>
						</tr>
						<!-- END productListx -->
					</tbody>					
				</table>
			</dl>

			<dl class="submit">
				{btnOrder}
				{btnDelete}
				{btnNew}
				{btnCopy}
			</dl>
			<dl>
				{articlePageHelp}
			</dl>
		</fieldset>
	</form>
</div>

